package com.codingfuture.glacierhardware.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.codingfuture.glaciercommon.entity.Meter;
import com.codingfuture.glaciercommon.util.BaseParamDTO;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author: Ji
 * @DateTime: 2025-04-01 11:37
 * @Description:
 **/
@Data
public class MeterAddDTO extends BaseParamDTO<Meter> implements Serializable {
    private static final long serialVersionUID = 2L;
//    仪表ID
    @TableId(type = IdType.AUTO)
    private Long id;
    //仪表编号
    private String sn;
    //仪表名称
    private String name;
    //主机外键id
    private Long hostId;
    //最大湿度
    private Integer maxHum;
    //最小湿度
    private Integer minHum;
    //最大温度
    private Integer maxTem;
    //最小温度
    private Integer minTem;
    //采集间隔
    private Long collectInterval;
    //token
    private String token;
    //设备类型  0 push / 1 pull
    private Integer type;
    //状态 0启用  /1 停用
    private Integer state;
    //备注信息
    private String remark;
    //企业id
    private Long companyId;
    //仓库id
    private Long warehouseId;
}
